package com.guochu.sys.entity;

import com.guochu.common.infrastructure.IEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 附件表
 * 注意：GroupId是文件分组字段，为了方便用户检索文件而设立(Annex)实体类
 *
 * @author bunting.wei
 * @since 2021-04-13 07:43:05
 */
public class Annex extends IEntity implements Serializable {
    private static final long serialVersionUID = -26940980503107334L;
    /**
     * 文件名
     */
    private String fileName;
    /**
     * 文件大小
     */
    private Long fileSize;
    /**
     * 文件类型
     */
    private String fileType;
    /**
     * 文件分组
     */
    private String groupId;
    /**
     * 路径
     */
    private String filePath;
    /**
     * 存储方式 local 本地存储     aliyun 阿里云OSS存储
     */
    private String saveMode;
    /**
     * 下载量
     */
    private Integer downloadCount;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getSaveMode() {
        return saveMode;
    }

    public void setSaveMode(String saveMode) {
        this.saveMode = saveMode;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }

}
